package com.anolesoft.yr.mbus.cont.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anolesoft.yr.mbus.cont.entity.ContType;
import java.util.List;
import com.anolesoft.yr.mbus.cont.dao.ContTypeDao;
import com.anolesoft.yr.mbus.cont.entity.ContTypeExample;
@Service
public class ContTypeService extends ServiceImpl<ContTypeDao, ContType> {

    
    public long countByExample(ContTypeExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(ContTypeExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<ContType> selectByExample(ContTypeExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(ContType record,ContTypeExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(ContType record,ContTypeExample example) {
        return baseMapper.updateByExample(record,example);
    }
    
    public int updateBatch(List<ContType> list) {
        return baseMapper.updateBatch(list);
    }
    
    public int updateBatchSelective(List<ContType> list) {
        return baseMapper.updateBatchSelective(list);
    }
    
    public int batchInsert(List<ContType> list) {
        return baseMapper.batchInsert(list);
    }
    
    public int insertOrUpdate(ContType record) {
        return baseMapper.insertOrUpdate(record);
    }
    
    public int insertOrUpdateSelective(ContType record) {
        return baseMapper.insertOrUpdateSelective(record);
    }

    public List<ContType> selectContAddType(){return  baseMapper.selectContAddType();}
}
